package com.zby.OpenApiCommon.model.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户
 *
 * @author zby
 * @email 2069189112@qq.com
 * @date 2023-09-27 19:27:04
 */
@Data
@TableName("user")
public class UserEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private String username;

    private String useraccount;

    private String useravatar;

    private Integer gender;

    private String userrole;

    private String userpassword;

    private String accesskey;

    private String secretkey;

    private Date createtime;

    private Date updatetime;

    @TableLogic
    private Integer isdelete;

}
